package com.bootdo.lvyou.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import com.bootdo.common.annotation.NotColumn;
import com.bootdo.common.fansheutils.FansheUtils;
import com.bootdo.common.fansheutils.JibenLei;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.haojiangbo.annotation.HapiFeild;


/**
 * 美食商家表
 * 
 * @author lujingqian
 * @email 965858129@qq.com
 * @date 2019-10-10 13:45:13
 */
 @JsonInclude(JsonInclude.Include.NON_NULL)
public class LvyouCate extends JibenLei {
	@NotColumn
	private static final long serialVersionUID = 1L;
	
	
	//id
	 @NotColumn 	@HapiFeild("id")
	private Long id;
	
	//店名称
		@HapiFeild("店名称")
	private String name;
	
	//市级id
		@HapiFeild("市级id")
	private Long provincialId;

	//关键字
		@HapiFeild("关键字")
	private String keyword;

	//市级名称
		@HapiFeild("市级名称")
	private String provincialName;
	
	//营业时间
		@HapiFeild("营业时间")
	private String businessHours;
	
	//人均消费
		@HapiFeild("人均消费")
	private Double pre;
	
	//纬度
		@HapiFeild("纬度")
	private Double lat;
	
	//经度
		@HapiFeild("经度")
	private Double lng;
	
	//详细地址
		@HapiFeild("详细地址")
	private String address;
	
	//电话
		@HapiFeild("电话")
	private String mobile;
	
	//轮播图id(备用)
		@HapiFeild("轮播图id(备用)")
	private String imgId;
	
	//封面图
		@HapiFeild("封面图")
	private String coverImg;
	
	//评价数量(备用)
		@HapiFeild("评价数量(备用)")
	private Long evaluateNumber;
	
	//创建时间
		@HapiFeild("创建时间")
	private Date createTime;
	
	//排序
		@HapiFeild("排序")
	private Integer sort;
	
	//是否显示
		@HapiFeild("是否显示")
	private Integer isShow;
	
	//区县id
		@HapiFeild("区县id")
	private Long cityId;
	
	//区县名称
		@HapiFeild("区县名称")
	private String cityName;
	
	//分类id
		@HapiFeild("分类id")
	private Long classifyId;
	
	//分类名称
		@HapiFeild("分类名称")
	private String classifyName;

   	//分类名称
		@HapiFeild("商家简介")
	private String profile;

   	//分类名称
		@HapiFeild("商家简介")
	private Integer isHot;

	//评分
		@HapiFeild("评分")
	private Integer give;

	public Integer getGive() {
		return give;
	}

	public void setGive(Integer give) {
		this.give = give;
	}

	@NotColumn
	private Double distance;

	@NotColumn
	private List<LvyouCateImg> carouselImg;

	@NotColumn
	private List<LvyouCateImg> greens;

    public LvyouCate(){
    
    	this.createTime = new Date();
		this.lat = 0.00;
		this.lng = 0.00;
    }

	public List<LvyouCateImg> getCarouselImg() {
		return carouselImg;
	}

	public void setCarouselImg(List<LvyouCateImg> carouselImg) {
		this.carouselImg = carouselImg;
	}

	public List<LvyouCateImg> getGreens() {
		return greens;
	}

	public void setGreens(List<LvyouCateImg> greens) {
		this.greens = greens;
	}

	public Double getDistance() {
		return distance;
	}

	public void setDistance(Double distance) {
		this.distance = distance;
	}

	public Integer getIsHot() {
		return isHot;
	}

	public void setIsHot(Integer isHot) {
		this.isHot = isHot;
	}

	/**
	 * 获取：商家简介
	 * @return
	 */
	public String getProfile() {
		return profile;
	}

	/**
	 * 设置：商家简介
	 * @param profile
	 */
	public void setProfile(String profile) {
		this.profile = profile;
	}

	/**
	 * 获取：关键字
	 */
	public String getKeyword() {
		return keyword;
	}
	/**
	 * 设置：关键字
	 */
	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}
	/**
	 * 设置：id
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：id
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：店名称
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * 获取：店名称
	 */
	public String getName() {
		return name;
	}
	/**
	 * 设置：市级id
	 */
	public void setProvincialId(Long provincialId) {
		this.provincialId = provincialId;
	}
	/**
	 * 获取：市级id
	 */
	public Long getProvincialId() {
		return provincialId;
	}
	/**
	 * 设置：市级名称
	 */
	public void setProvincialName(String provincialName) {
		this.provincialName = provincialName;
	}
	/**
	 * 获取：市级名称
	 */
	public String getProvincialName() {
		return provincialName;
	}
	/**
	 * 设置：营业时间
	 */
	public void setBusinessHours(String businessHours) {
		this.businessHours = businessHours;
	}
	/**
	 * 获取：营业时间
	 */
	public String getBusinessHours() {
		return businessHours;
	}
	/**
	 * 设置：人均消费
	 */
	public void setPre(Double pre) {
		this.pre = pre;
	}
	/**
	 * 获取：人均消费
	 */
	public Double getPre() {
		return pre;
	}
	/**
	 * 设置：纬度
	 */
	public void setLat(Double lat) {
		this.lat = lat;
	}
	/**
	 * 获取：纬度
	 */
	public Double getLat() {
		return lat;
	}
	/**
	 * 设置：经度
	 */
	public void setLng(Double lng) {
		this.lng = lng;
	}
	/**
	 * 获取：经度
	 */
	public Double getLng() {
		return lng;
	}
	/**
	 * 设置：详细地址
	 */
	public void setAddress(String address) {
		this.address = address;
	}
	/**
	 * 获取：详细地址
	 */
	public String getAddress() {
		return address;
	}
	/**
	 * 设置：电话
	 */
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	/**
	 * 获取：电话
	 */
	public String getMobile() {
		return mobile;
	}
	/**
	 * 设置：轮播图id(备用)
	 */
	public void setImgId(String imgId) {
		this.imgId = imgId;
	}
	/**
	 * 获取：轮播图id(备用)
	 */
	public String getImgId() {
		return imgId;
	}
	/**
	 * 设置：封面图
	 */
	public void setCoverImg(String coverImg) {
		this.coverImg = coverImg;
	}
	/**
	 * 获取：封面图
	 */
	public String getCoverImg() {
		return coverImg;
	}
	/**
	 * 设置：评价数量(备用)
	 */
	public void setEvaluateNumber(Long evaluateNumber) {
		this.evaluateNumber = evaluateNumber;
	}
	/**
	 * 获取：评价数量(备用)
	 */
	public Long getEvaluateNumber() {
		return evaluateNumber;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * 设置：排序
	 */
	public void setSort(Integer sort) {
		this.sort = sort;
	}
	/**
	 * 获取：排序
	 */
	public Integer getSort() {
		return sort;
	}
	/**
	 * 设置：是否显示
	 */
	public void setIsShow(Integer isShow) {
		this.isShow = isShow;
	}
	/**
	 * 获取：是否显示
	 */
	public Integer getIsShow() {
		return isShow;
	}
	/**
	 * 设置：区县id
	 */
	public void setCityId(Long cityId) {
		this.cityId = cityId;
	}
	/**
	 * 获取：区县id
	 */
	public Long getCityId() {
		return cityId;
	}
	/**
	 * 设置：区县名称
	 */
	public void setCityName(String cityName) {
		this.cityName = cityName;
	}
	/**
	 * 获取：区县名称
	 */
	public String getCityName() {
		return cityName;
	}
	/**
	 * 设置：分类id
	 */
	public void setClassifyId(Long classifyId) {
		this.classifyId = classifyId;
	}
	/**
	 * 获取：分类id
	 */
	public Long getClassifyId() {
		return classifyId;
	}
	/**
	 * 设置：分类名称
	 */
	public void setClassifyName(String classifyName) {
		this.classifyName = classifyName;
	}
	/**
	 * 获取：分类名称
	 */
	public String getClassifyName() {
		return classifyName;
	}


	@Override
	@JsonIgnore
	public List<HashMap<String, Object>> getFields() {
		// TODO Auto-generated method stub
		return FansheUtils.getFieldList(this);
	}


}
